<?php

/**
 * Smarty {muffin_checkSession} function plugin
 *
 * Type:     function
 * Name:     muffin_checkSession
 * Purpose:  Easy smarty function linked to the muffin function: checkSession()
 * 
 * @author Kozie <flamefingers at gmail dot com>
 * @param array
 * @param Smarty
 */

function smarty_function_muffin_checkSession( $params, &$smarty )
{
	
	// Muffin declareren
	$m	= Muffin::instance();
    
	// Return de functie
	return $m->checkSession();
	
}

?>